package com.xixibaby.core.mybatis;

import com.baomidou.mybatisplus.core.metadata.TableInfo;

/**
 * @Auther: tomj
 * @Date: 2019-03-19 11:43
 * @Description:
 */
public class ListInnerJoin extends JoinMethod {
    public ListInnerJoin(){
        super(SqlMethod.LIST_INNER_JOIN,false);
    }

    @Override
    public String joinSql(TableInfo tableInfo, SqlMethod sqlMethod) {
        return "{0}";
    }

    @Override
    protected String[] targetSelectColumns() {
        return new String[]{"{1}"};
    }
}
